﻿

namespace MathLib.Exp
{
    /// <summary>
    /// 数学表达式
    /// </summary>
    public abstract class MethodExpression
    {
        /// <summary>
        /// 类型
        /// </summary>
        public ExpressionType Type { get; set; }

        public string Origin { get; set; }

       
    }

    /// <summary>
    /// 类型
    /// </summary>
    public enum ExpressionType
    {
        /// <summary>
        /// 值
        /// </summary>
        Value,
        
        /// <summary>
        /// 二元表达式
        /// </summary>
        Binary,

        /// <summary>
        /// 组合表达式
        /// </summary>
        Combination

    }
}
